﻿using Microsoft.AspNetCore.Mvc;
using Configuration.ServerApi.Param;
using System.Threading.Tasks;

namespace Configuration.ServerApi.Service
{
    /// <summary>
    /// IMaterialService
    /// </summary>
    public interface IMaterialService
    {
        /// <summary>
        /// 获取材料数据列表
        /// </summary>
        /// <param name="param">搜索条件</param>
        /// <returns>JSON结果集</returns>
        public Task<JsonResult> MaterialList(SearchModel param);

        /// <summary>
        /// 获取材料数据详情
        /// </summary>
        /// <param name="param">搜索条件</param>
        /// <returns>JSON结果集</returns>
        public Task<JsonResult> MaterialDetail(SearchModel param);

    }
}
